/*
 * led.h
 *
 *  Created on: 13 May 2015
 *      Author: yiqi.pan
 */

#ifndef SRC_LED_H_
#define SRC_LED_H_

#define LED_SLOW_FLASH 128
#define LED_MEDIUM_FLASH 64
#define LED_FAST_FLASH 8

void led_init(void);
void led_on(void);
void led_off(void);
void led_toggle(void);

void led_flash_start(uint16_t frequency);
void led_flash_change(uint16_t frequency);
void led_flash_stop(void);

#endif /* SRC_LED_H_ */
